package org.link.bean;

/**
 * 
 * project_name:hibernate_manytoone
 * package_name:org.link.bean
 * file_name:Card.java
 * @author Link
 * create_date:2015年12月14日 下午2:05:51
 * modified_date:
 * description:身份证实体类
 *
 */
public class Card {

	private int id;
	private String cnumber;
	public Card() {
		super();
	}
	public Card(int id, String cnumber) {
		super();
		this.id = id;
		this.cnumber = cnumber;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getCnumber() {
		return cnumber;
	}
	public void setCnumber(String cnumber) {
		this.cnumber = cnumber;
	}
	@Override
	public String toString() {
		return "Card [id=" + id + ", cnumber=" + cnumber + "]";
	}
	
	
	
}
